function q = ne(A,B)
% BVQXfile::eq  - overloaded method

% Version:  v0.8a
% Build:    9112206
% Date:     Nov-22 2009, 6:11 AM CET
% Author:   Jochen Weber, SCAN Unit, Columbia University, NYC, NY, USA
% URL/Info: http://wiki.brainvoyager.com/BVQXtools

% simply pass to eq
try
    q = ~eq(A, B);
    
    % but give warning for different classes
    if ~strcmp(class(A), class(B));
        warning( ...
            'BVQXfile:BadSyntax', ...
            'Test for inequality between objects and builtin type.' ...
        );
    end
catch
    rethrow(lasterror);
end
